package com.bootdo.goodstemplate.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.goodstemplate.dao.GoodstemplateDao;
import com.bootdo.goodstemplate.domain.GoodstemplateDO;
import com.bootdo.goodstemplate.service.GoodstemplateService;



@Service
public class GoodstemplateServiceImpl implements GoodstemplateService {
	@Autowired
	private GoodstemplateDao goodstemplateDao;
	
	@Override
	public GoodstemplateDO get(Integer id){
		return goodstemplateDao.get(id);
	}
	
	@Override
	public List<GoodstemplateDO> list(Map<String, Object> map){
		return goodstemplateDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return goodstemplateDao.count(map);
	}
	
	@Override
	public int save(GoodstemplateDO goodstemplate){
		return goodstemplateDao.save(goodstemplate);
	}
	
	@Override
	public int update(GoodstemplateDO goodstemplate){
		return goodstemplateDao.update(goodstemplate);
	}
	
	@Override
	public int remove(Integer id){
		return goodstemplateDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return goodstemplateDao.batchRemove(ids);
	}
	
}
